package com.ostrich.cloud.ostrichGoodsSercice.model.Dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class SecKillDto {

    private Integer secId;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "物品id")
    private SecKillGoodDto secKillGoodDto;

    @ApiModelProperty(value = "秒杀价格")
    private BigDecimal price;

    @ApiModelProperty(value = "销量")
    private Integer sale;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "秒杀添加时间")
    private Date addTime;

    @ApiModelProperty(value = "BEGIN开始|END结束")
    private String status;

}
